d={"a": 1, "b": 2, "c": 3, "d": 4}
a=int(input())
# for i in d:
#    if d[i] ==a:
#        print(i)


for key, v in d.items():
    if v ==a :
        print(key)


